remove extra code

old code not necessary