more usefull output
added option to define number of used cores via parameter