add three codes