clean example code