this would be a good use case for session storage wouldn't it?