eLife assessment
The work addresses an important methodological aspect by optimizing an activity-dependent labelling of neural circuits in behaving flies. The authors provide convincing evidence to support the broad applicability of this method. However, a more comprehensive description of the methodology would greatly enhance its dissemination and adoption. Additionally, the authors successfully implement the method, providing solid evidence for the activity-dependent labelling of P1 neurons during aggression and courtship.