memory handler and private string builder to keep track of records