give the resolved promises the data that was resolved.

resolve issue #19.  the resolved promise now works with the array data that is returned.