created test1 function