added r_d(check if-test in Cromer loop)