added code to perform calculations withought relaxation