add records directive