validate entry