now logging as we go, great fun