changed package from multicore to parallel