Changed method for complexity validating