The Magic of Opening and Closing Gates and its Application · Hentkor