connect and publish fcts implemented