change parameter for the method view.setData from data to settings