changed parameters for plotting
added RData