complete apis for the rest of cmds