use to test code