deleting some unnecessary variable