changed method name from dictionary to model keys