added a method .didnt add unit test case.so coverage is not 100%