Added skeleton of API functions