Modified db definitio