changed name of helperfunction