[Rug 002] shell mathematics