validation for entries added