added cmdArray to comment