remove useless code form example