added record handler