added R_LL and scarat calculations