changed hg18 to 19 function