cube working - needs formatting