what does this mean? why does results.length imply that results[0] is the thing we want? (this may need either a code comment, or slight recoding to make it obvious what's happening here.