delta calculation has been corrected