Might actually work outside of test cases