delted redudant main