added transparent spheres and removed compiler warnings