added tandem data plotting