changed init method visibility for tests