Added new API functions