Just make it a method. I don't see the problem.