modifying motion layer