squash! another solution: options.entryFactory