added unhygienic anaphoric if; little fix to spheres program