Now its inserting into the database