update examples to match conventional style