added square and textures to cube and square