example code fixes