add init() method to prototype