corrected rotation; added motion