took out part of a method