Fixed part 4 example code for subscriber