Removing some unnecessary variable