i created the turn function.

I abhore over-thinking math