Modelling interactions via commitments and expectations