pasted over from common google doc we were working on, pasted badly, needs lots of corrections, split into sections, references etc