two functions examples