Added data writer with quantisation