add some debug stuff