adding a command for a callback