ugh debugging