Added funky debug stuff