codes to merge fields