more work on encoding resolution