Renamed width->cols, height->rows