add dependence on mouse movements