It can be used in the callback functions, I think it's OK. Thanks.