adding microswitch handling project