change method name to init