solved set-intersection