data entry check function has been added to the project