added some event/challenge debug code