added comment for updating angles