fixed variable name - finally working