add signal command() to the commandRecognition