cmd still need improvement