modifying loop controls