"Sword refers to Offer" title and code (revised 2).pdf