Changed listerners implementation in AI