- add some Quynh's function

Signed-off-by: tuyetphale993 <tuyetphale993@gmail.com>