can you move it to separate method? I think that this is long enough for own method