beginning API