ugly parallelization hack :)