change class column and row