WIP: sending big data - refactored code.