Finalised removing notes, need to do more work on removing and wrapping
block elements
Abstracted block adding into function