Changing locationInfo to LocationInfo