added variable to function call