             # print the next line
             setTimeout =>
               currentEl.removeClass "printing"
-              currentEl = $(this).children().eq(lineIndex)
-              printLine(stringArray[lineIndex++])
+              currentEl = $(this).children().eq lineIndex
+              printLine stringArray[lineIndex++]
             , options.lineWait
             
           else

      addString = arguments[0]
      options = arguments[1]
    else
      throw "improper number of args"
    
    # default options if necessary
    defaultOptions =

      # for every tick. Clears the timer and triggers
      # any callbacks when finished
      onTick = =>
        if index < wholeString.length
          # add a character to the string
          printedString += wholeString[index++]
          setString()
        else
          # finished printing the string, 
          # clean up and print the next line
