boiled down the code down to the data