How to identify ring residue