Factors affecting human mobility