removed unwnated code