[[ Adapt from https://docs.google.com/document/d/1iqTA7ab7LYr2NFCRRPkhPgmzQdbVhRCYMyOPd0zrka4/edit ]]