Added some debug stuff