added message when invalid command is entered