adding expand record operation