Temp variable is unnecessary if you only use it once.