added type in sphere and cuboid