added motion_speed
workign on pulse merge