Removed encodingmethod var