init method added