now all of the data is stored to db