delet useless code