removed unnecessary code , to a extinct