Updated example and fixed namespaces