why did you move it to a method?