delete useless code
add comments