edited debug