renamed rw to shared in environment frame structure