writing first function
Writing second function