With debug log
Ideally would debug using TDD