Added console logs

(And got the right line for previous edition).