how to create a ring stack