variable names wrong, fixed it

f