Constants should be outside the handle function. It's not that much, but it prevents it from getting redefined every time. :)