Global dispatch, contracts and tasks working