newrecord returns a reference to the new record