SNP generation working