added get_angle