I don't like to guess what a variable is for. The function is also 33 lines long, which is a fairly long function.