added init method