runs with four cores