added encoding key