class operation opt,trim opt