initial idea for the api