delete unuseful code