Adjusting Sample Code Issues