added motion generator