add analyze command