adding to wsman encoding