Only for test code