refactor attitude-change, beam