change to how thunks are stored