init method docs