deleting useless code