contract ref guide