for self-testing
