further documentation; implement genome function for the cube type