Updated the init method
Updated init method