refactor angleSet