added returnidcommand