added publish support