missed an important piece in refactoring attempt