working on powerset