Moving a method to clarify what's going on.