I merged the two vectors so I was only doing one loop.