results now save to the database