Save in DB and more functionality