removed test_codes for debug