First working CRS codec