Minor tweaks to arrival function... instead of getting body information
right away, will return the response and we can use other functions
to further unpack it and error check.