step 4 - compound rule