added chrX support