rename var nextUseless to lastRDD