hopefully getting my rows and spans in order