reducing iterations