remove redundent code from previous commit