Check the handler code section I posted above. It has the proper code for your handler.