adding the compusory check for data entry