check for ? command