debugging intersection method