added def-db to adaptive functions