having the constraints in a separate method makes no difference