Tutorial 3 Before render()