replaced local constant with Math.PI
lesson 7