starting work on adding emergency stop switch selection