Define transitions using array for source states