Fixed everything except clearRows() (I think)