Modify the openings variable

The same problem in another form