modified for whole genome