full DB functional