beginning of halt and start processes