Adding in the motion for data in md format