added join_heading option