updated port to new allele2 core