Added init() method