added some printing