adding more debug stuff