use the previous class decorator