see my comment below about the possibility of converting this to a JSON file