added basic quantisation