get result into a set