started to add an API