another way to create a power set