added settable iterations