Deleting useless code