coordination function (still incomplete)