add history.intersects to context