remove Encode, thought to be needed