refactoring - removed 2 unnecessary lines