changes to disp_cmd