add bool validation