Initial functions added.
Initial version of functions