a few changes to initial sphere-class, but not yet runnable