saving stuff to db for later retrieval