-1 is to use all cores :)