added default encoding property