Implementing arm rotation