temporary example of a simple api