modified display() to show the Records