Added record class to hold record info