linking example code