Encode:opt the code