renamed spans to correctly reflect rows and columns