added first prototype of 'tilde_ring' code