Add cube code/constants