Extract as a method