can now save to the database