added encoding field