barrier implemented to nodes syncronization

as discussed this morning