(very small) beginnings of an API