removing init from init function