Mouse algo

Mouse algo changed