add lossy and oreset