add variable to function