remove meaningless code
improve opts handling
delete old example