added extractset()