variable naming and adjusted max iterations