append to result