Add code to insert result entry to DB.