rename source variable to source_location for clarity