The uesful function and tookit for me.