Thanks for your reply it is working now with the same switch. and I tried reversing the connections still did not work