note on what to refactor (plane)
refactoring away duplication