delete some extra code