add more logic while processing EPKG_ENODB