YN: delete the useless code