Removed an unnecessary variable