add feature: cores - specify number of used cpu cores