prototype for db requirement handler