changed the scale to PI/2 instead of PI