add global init method