test code for debug