added timer, ack and emergency stop