Maybe this is what I need. And then to save in database