code and comment example made to match