adds iteration limit
removes comment