make tests pass, print info using dat.json