lab 8 dispatch rule