mese_fence working, need to fix backwards compatibility