modifying the example