added some basic heading-auto-insertion