added record event handlers