added db mapping