Finished the function example, just the abstraction left.