encoding improved