Rewrote slot data structure