working on gsim ring library