Adding optical intent driver function