added customletter and editor code