done with the printing function