Digging out useless code

refining work