Creating functions to be used.
adding some examples to look later.