created a simple API
created a simple API