My initial work on using the API