completely refactored how data is stored to be more efficient.