add class operator