started on preprocessor for categorical decoder