Fixed one line comment bug and modified example code