OPEN, CLOSEDを実装