Added example of command handling