prototyped the steps to angle conversion