Added example, changed a bit of syntax.
Fixed example.