add some util method