update naming to more precise (encode -> work)