add take method for taking x rows