add one-hot encoding post