added ctrl off and on, will function properely after has been homed first