be able to load from dictionary