type and privacy for publish