instantiate map before using it