corrected cmdList API