messed around with setAngle function