took out autopublish and added the pub/sub