seperated the smooth_operator orm code onto another class