change init method