move example code