measured angle additions and updated code