set rows, cols
add validation