modified code:add some #ifdef USE_SCREEN