started adding the api