Context: added barrier method