new changes--upto print