Had unnecessary variable