got generic cube working