Added new Get api function