modify:make it more convinient to use the DEBUG