phantom margin, refactoring