removed unnecessary code from NewLife