working until intersection calculation