Modeling pedestrians' shopping behavior in downtown areas