refactoring diff gene page