adds multi-core support