changing encoding and testing contribution