main executive module