upload example code