in the middle of a refactor