converted to polar coordinates, seems to work