Codes for final term