moved R instruction for maps to the right place.