can't we do that further up? For example before the previews are queried? Maybe even at the very top of the method?