add preprocessing in class bum