I guess you wanted to use `name` here and in the next line.