Added encoding parameters