Refactor de emots