remove unnecessary code
code coverage 100%