Add a comment and use a correct name for a variable