make syntax consistent in examples