First draft of example + functions required