use publish/subscribe instead of autopublish