changes to define relayPin and changed to pin7 after frying pin3 (ops)