fixed example code.