added pedestrian mode