dim integration with cmds