Explicit model for pedestrian behaviour