adding functions examples