example added and namespace cleaned up