reworking of PUBLISH