removing extra variable