delete class,add part framwork