get row method