Code for useful functions or demonstrating useful functions