printRecord modified