rationalize insert_before & after