E cube implemented