use mapper for commands