design the command system.