Added a simple API