Refactors smallest thing in common