implemented publishing API