We carefully wrote code to make a painting programme. We had to debug as we went along.