use two cores