 		textWidth = Math.max(t.getBBox().width, @rectangleWidth)
 		textHeight = Math.max(t.getBBox().height, @rectangleHeight)
 
-		# if it doesn't fit in amax width box, split it into words and wrap them around
+		# if it doesn't fit in a max width box, split it into words and wrap them around
 		if (textWidth > @rectangleMaxWidth)
 			t.attr("text", "")
 			words = content.split(" ")

		drawn = @drawRectangle topPoint, block, 0

		# arrow
		connector = previousRectangle.getConnectorForDirection direction
		myConnector = drawn.rectangle.getConnectorForDirection "up"
		@drawLine connector, myConnector, arrow

		return drawn
		

			textWidth = Math.max(t.getBBox().width, @rectangleWidth)
			textHeight = Math.max(t.getBBox().height, @rectangleHeight)

		# we know we're going to put this on a rectangle of that size (+padding), so let's center the text in it
		t.attr(
			{"x": topX + (textWidth+@rectangleTextPadding)/2, 
			"y": topY + textHeight/2
