its a book example ,thats why i asked why it is required to do so ,even i couldnt get that