Works exactly as I wanted. Keeps the dog out of the living room, no more accidents on the carpet!