Changeing code to render cubes
messed up code