suceeded in hooking up esRDD function