`` exactly , '' kelly said , tracing her finger along the dotted course that led in haphazard fashion from manaus south along the madeira river until it reached the town of porto velho , where it angled north into the heart of the amazon basin .