callbacks on sm2 objects