implemented simple model with given data
updated parameters