fixed _init_ method