Why do you put the return value in an array here to then just pull out element 0 below?