polar coordinates improvements