check for undefined, move to final DB