making data entry more robust