creating tuple reader