Working towards CRS encoder