init method created