Add log functions
Add notifyIntersections()
Call notify task only once