Intersection detection and some reworking of the ticking system