refactor wikipedia