Fixing number of rows