master from rdd