#4 fixed

As there are 2 other pull request pending so may be it will conflict with other code ,after 2 pull request approve , I will solve the conflict and generate new pull request for this code again. that is the main reason for not writing test case for this code.