this should return the double a instead of the int angle