model 2 change 'params' to 'data'