added angle calc