modified the db layer