inline code used once.  also, correct iteration bugs