Sketch of implementation of bem handler with pinned nodes