guess its a good place to use a closure. will make the method logic more understandable too i guess.