modify minimal cpp