Added a simple api