loads from dictionary