added parsing of records