* added basic cube code