minor modifcations on print