added continous rotation mode