here could you also create an intermediate variable? `val rdd = MyRDD...{ }` then later `rdd`. It just makes the code more clean to be able to look at the bottom of the code block and see exactly what is being returned.