have added the motion sampling