Changed build_parsed_values() to use for loop.