 			@addChild child
 			child.prepareWithModel item
 			@append child
+			console.log "child was created: #{child.id}" if @debug
+
+		else
+			console.log "child was found: #{child.id}" if @debug
 
 		return child
 

				child = @getOrCreateChild item
				child.activate()

			@deactivateAndKillOrphans(@getChildren(), collection)
			@orderChildren(@getChildren(), collection)


	deactivateAndKillOrphans: (children, collection) ->
		orphans = children.filter (child) -> child.id not in collection.map (item) -> item.id
		for orphan in orphans
			console.log "Deactivate: #{orphan.id}" if @debug
			if orphan.isActive() and not orphan.isBusy()
				orphan.bind 'onDeactivated', (controller) =>
					console.log "Remove child: #{controller.id}" if @debug
					@removeChild controller
					controller.release()

			orphan.deactivate()

	# Reorder the children in the DOM according to the collection order.
