function is called activate not item