ring library example'