Refactors unique pictures