added data loading as dictionaries