running with 2 cores