removed unnecessary code from initializer