added encoding property