input validation for commands
doku corrections