changed method of new plaintext creation