Refactoring lhc