HR function transformation