introduced new class to print records