added result counter