Add validate for level