cleaned up example for step 4