add get location and get history