add a length type member to records