added function1 code
Added function2 description