Updated to output to the proper target cells.