:61: TypeError: r.map is not a function