Refactored process match data, using promise array