Added inserting into DB