Method extraction to simplify method