add result to statement