remove 3 unnecessary lines of code