change map block into public static