referring to wrong variable
refer to proper variable