Added diagnose list function