optimize operation class