type and mode trial