using M_PI instead of 3.14