change to display record id as well as output