added r_star