extract notify-to-ex-layer routine
#44