some utils of use.