getData renamed to setData