some useful notes in code for ideas that require implementing.