make lossy behaviour configurable