Fixed example and some syntax
Additional syntax fixes