dual unit in partial.js