add journal print function.