replacing get_items() with get_data() and removing the export_values() functions