COTS code