Share code with lines 472-482 above?