add getAll to return an array of objects with country and name