removing some redundant code , just a cosmetic change