Commented out the switch case in the setSphere function.