Storing record fields inside a record