started working on an API