removed unnessary functionality from the publisher