adding first cut at APIs