more work on RTF including metadata