Splits up a long method