First draft of the scanning pipeline part of the scanning chapter