control flow variety applications