got stat printing working