thinking about an api