Added number of blocks parameter to row