[Gem Agate 003] shell mathematics