Modified db design document by Leo