added command and user response handling system