stores the type in the targ object
set up the test function base 2 hits per secound