reworked sherical conversion