Our bathroom cabinet came with a magnetic latch which broke pretty quickly after we bought it. So I took some measurements and designed it the way I though it should be designed. The original piece had a divider between the two magnets which didn't seem important until I assembled this casing. It wasn't necessary, but it would have kept the two magnet from angling in as they pull toward each other. I am still pretty happy with it.