raw_data now calls dynamic querys