added debug statemets to handler
 commented out exessive code