Patrolling the environment