legato sample implem for analytics