Add examples to function.spec
Implement multi function