moved around debug stuff