improving grabSet functionality