fix init() method declaration