Extracted a method