added add functionality to body of records