action for content before/after