test
update my code and modify diff_L_X() function