Perfect. I like that the cat is allowed to go through were the dog can't go through, which makes it easier on me.