test function added