made a record class with constructor