added pickRow() method