modified db.erb