added keyval model