Added bool validation