useless code removed