In some of your 'commands' you return 0 in other you don't. Can you make it consistent.