example publisher factory