Yeah, I didn't understand it myself, but other code treadet unit that way, so I just copied it.