Prototyping for command handling