Added some custom level validation