Preloading all data into a dictionary for simplicity