Adding loops to our example