inserted the arrows inside the rows if