completed rtf creation section