Too much `set`ing here, not needed, variable used only once.