sgv not egv
check for bgValue in record