before rendering map W: