reworked the fuck out of data handling.