should api_source and location_path default to nil? or else you don’t need to check for them later, right?