attempting to reflect how this actually works in tests