changed reduces to maps