everything works, but is it correct
changed 1 variable name