Worked well keeping our little dog from going upstairs until she figured out how to knock it over.