useless code has been deleted