adding the beginnings of the API