use setup() instead of assignment in examples