added record and plugin