add complexity validations