testing void method