first round of debugging