added orig codes