Added doco with attribution to nick stenning