for test and getting code