build a cube. Interface for commands