preparing for embedded records