add several functions

Change-Id: I5b0b49ecdf26f16587724883360445f4591348e2