removed senseless code