dev_2 finished function test()