useless code and old code commented