var naming err fixed