forgot to rename function calls in hgm.core