more small fixes, now time for exemplar LUT