refactoring: removed unnecessary lines