Updated loop