working in progress. Added some functions.

Signed-off-by: tanji <nicholastanjerome@gmail.com>