moved away from an array of results
moved away from xhr to form post