API functions added