application of ring theory