Upgrading hcutfunc