Refactor part duece.