intermediate DB solution