implemented the intersect method, but it isn't yet working as expected...