removed wrong modding from arduino and added button for waiting for switch