added motion activity manager example