simple printRecord