add useful functions class (v 3.1.1)

Change-Id: I4232d750f692afd68617b4f02a0a3b236f933ecb